
let routes = [
    {
        path:'/admin',
        component:require('./components/admin/Login')
    },
    {
        path:'/admin/index',
        component:require('./components/admin/index')
    },
    {
        path:'/admin/cateadd',
        component:require('./components/admin/block/Catefrom')
    },
    {
        path:'/admin/chapteradd',
        component:require('./components/admin/block/Chapter')
    },
    {
        path:'/admin/subone',
        component:require('./components/admin/subjectone/Index')
    },
    {
        path:'/admin/subfour',
        component:require('./components/admin/subfour/Index')
    },
    {
        path:'/admin/suboneadd',
        component:require('./components/admin/subjectone/Form')
    },
    {
        path:'/admin/subfouradd',
        component:require('./components/admin/subfour/Form')
    },

    {
        path:'/admin/subonesave/:id',
        name:'subonesave',
        component:require('./components/admin/subjectone/SaveForm')
    },
    {
        path:'/admin/problemsave/:id',
        name:'problemsave',
        component:require('./components/admin/subjectone/problemsave')
    },
    {
        path:'/admin/subfoursave/:id',
        name:'subfoursave',
        component:require('./components/admin/subfour/SaveForm')
    },
    {
        path:'/admin/subtwosave/:id',
        name:'subtwosave',
        component:require('./components/admin/subtwo/CateSaveform')
    },
    {
        path:'/admin/videosave/:id',
        name:'videosave',
        component:require('./components/admin/subtwo/VideoSaveform')
    },

    {
        path:'/admin/subone/cate',
        name:'subonecate',
        component:require('./components/admin/subjectone/Cate')
    },
    {
        path:'/admin/subone/addcate',
        name:'suboneaddcate',
        component:require('./components/admin/subjectone/CateForm')
    },
    {
        path:'/admin/subone/problem',
        name:'suboneproblem',
        component:require('./components/admin/subjectone/problem')
    },
    {
        path:'/admin/subone/problemadd',
        name:'suboneproblem',
        component:require('./components/admin/subjectone/problemadd')
    },
    {
        path:'/admin/image/list',
        name:'image/list',
        component:require('./components/admin/subjectone/ImageList')
    },
    {
        path:'/admin/image/ImageAdd',
        name:'image/ImageAdd',
        component:require('./components/admin/subjectone/ImageAdd')
    },
    {
        path:'/admin/image/ImageSave/:id',
        name:'image/ImageSave',
        component:require('./components/admin/subjectone/ImageSave')
    },
    {
        path:'/admin/subtwo/catelist',
        name:'subtwo/catelist',
        component:require('./components/admin/subtwo/Catelist')
    },
    {
        path:'/admin/subtwo/videolist',
        name:'subtwo/videolist',
        component:require('./components/admin/subtwo/Videolist')
    },
    {
        path:'/admin/subtwo/cateadd',
        name:'subtwo/cateadd',
        component:require('./components/admin/subtwo/Cateform')
    },
    {
        path:'/admin/subtwo/videoadd',
        name:'subtwo/videoadd',
        component:require('./components/admin/subtwo/Videoform')
    },
    {
        path:'/admin/adlist',
        component:require('./components/admin/adlist/adlist')
    },{
        path:'/admin/userlist',
        component:require('./components/admin/userlist/userlist')
    },{
        path:'/admin/adlistadd',
        component:require('./components/admin/adlist/adlistadd')
    },
    {
        path:'/admin/subthree/mp3',
        name:'subthree/mp3',
        component:require('./components/admin/subthree/mp3')
    },
    {
        path:'/admin/subthree/Mp3Add',
        name:'Mp3Add',
        component:require('./components/admin/subthree/Mp3Add')
    },
    {
        path:'/admin/subthree/Mp3Save/:id',
        name:'Mp3Save',
        component:require('./components/admin/subthree/Mp3Save')
    },{
        path:'/admin/adsave/:id',
        name:'adsave',
        component:require('./components/admin/adlist/adsave')
    },
    {
        path:'/problem/:id',
        component:require('./components/problem/Info')
    },
    {
        path:'/Traff/:id',
        component:require('./components/Traff/Info')
    },

]

export default new VueRouter({
    mode: 'history',
    routes
})

